<!-- Display "Earn" Tab -->
<% content_for :top do %>
<br />
<span style="font-weight:bold;font-size:16px;padding-left:12px;">Invite Sports Fans to earn WinPoints <%=image_tag"winpoint.png"%></span><br/><br/>

<center>
	<table style="margin:5px;">
		<tr>
			<td valign=top>
					Online friends
					<fb:chat-invite msg="Challenge you to 13wins (this is not spam): http://apps.facebook.com/<%=@app_name%>/invited/from_chat?id=<%=current_user.id%>" condensed="false" exclude_ids="<%=@installed_friends%>"/></br>
				</td>
			<td style="width:10px;"></td>
			<td valign=top>
				Offline friends
				<%= render :partial=>"users/invite" %></br>
				Invitations Sent: <%=current_user.invitation_sent_number.to_i%></br>
				Accepted Invitations: <%=current_user.invitation_accept_number.to_i%>
			</td>
			<td style="width:10px;"></td>
			
			<td>
				<table class='key' style="width:97%;margin-bottom:100px">
					<tr><td>
						<span style="font-style:italic;font-size:10px;">Earn Online (recommended):</span>
					</tr></td>
					<tr><td>
						500 WinPoints per accepted invite
					</tr></td>
					<tr><td><center><hr width="98%" size="0.5px" color="#D8DFEA"></center></td></tr>
					<tr><td>
						<span style="font-style:italic;font-size:10px;">Earn Offline:</span>
					</tr></td>
					<tr><td>
						50 WinPoints per sent invite
					</tr></td>
					<tr><td>
						450 WinPoints per accepted invite
					</tr></td>
				</table>
			</td>
		</tr>	
	</table>
</center>

<br/><center><hr width="25%" size="0.5px" color="#a7a7a7"></center><br/><br/>
<center>
	<fb:iframe marginheight=0 marginwidth=0 height=1150 width=744 border=0 scrolling='yes' FRAMEBORDER=0 src='http://www.adparlor.com/Incentivized/OfferWall.aspx?appId=5307783&uid=<%=current_user.id%>'></fb:iframe>
</center> 
	<br/><br/>
	<!-- <fb:iframe src="http://super.kitnmedia.com/super/offers?h=lxufnr.08767782947&uid=<%=current_user.id%>" frameborder="0" width="744" height="2500" scrolling="yes"></fb:iframe>	 -->
<% end %>
